package com.langsin.shihao.mapper;

import com.langsin.bean.Worker;

import java.util.List;

/*
* 就是原先的WorkerDao
* */
public interface WorkerMapper {
    int insertWorker(Worker worker);
    List<Worker> selectByID (Integer age);
    int insertWorker2 (Worker worker);
    //按条件来修改
    int updateWorkerByCondition(Worker worker);
}
